import request from '../utils/request'
//获取所有商品分类数据
export const getAllGoodstypeApi = (query) => request("/gen/goodstype", {
    method: "get",
    query
})
//删除
export const deleteGoodstypeApi = (id) => request(`/gen/goodstype/${id}`, {
    method: "delete",
})